<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第一页</title>
    <link rel="stylesheet" href="./one/index.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            width: 100em;
            height: 100em;
            overflow: hidden;
        }

        .bg {
            width: 100%;
            height: 100%;
            background-image: url('./images/hongbg.png');
            background-size: 100vw 100vh;
            position: relative;
        }

        .clouda {
            background-image: url('./images/yuna.png');
            background-size: 100% 100%;
            width: 696px;
            height: 290px;
            position: absolute;
            bottom: 0;
            left: 854px;
            z-index: 1;
            transition: bottom 2s;

        }

        .cloudb {
            background-image: url('./images/yunb.png');
            background-size: 100% 100%;
            width: 1180px;
            height: 520px;
            position: absolute;
            bottom: -546px;
            right: 1300px;
            z-index: 1;
            transition: bottom 2s;
        }

        .cloudc {
            background-image: url('./images/yunc.png');
            background-size: 100% 100%;
            width: 1180px;
            height: 560px;
            position: absolute;
            bottom: -582px;
            left: 1327px;
            z-index: 1;
            transition: bottom 2s;
        }

        .cloudd {
            background-image: url('./images/yund.png');
            background-size: 100% 100%;
            width: 500px;
            height: 230px;
            position: absolute;
            top: 470px;
            left: -520px;
            z-index: 1;
            transition: left 2s;
        }

        .cloude {
            background-image: url('./images/yune.png');
            background-size: 100% 100%;
            width: 180px;
            height: 80px;
            position: absolute;
            top: 370px;
            left: 673px;
            z-index: 1;
            transition: left 2s;
        }

        .peolpe {
            background-image: url('./images/rena.png');
            background-size: 100% 100%;
            width: 400px;
            height: 580px;
            position: absolute;
            top: 100px;
            left: 600px;
            z-index: 1;
        }

        .title {
            background-image: url('./images/mogaoku.png');
            background-size: 100% 100%;
            width: 1000px;
            height: 430px;
            position: absolute;
            left: 250px;
            z-index: 1;
            top: -500px;
            transition: top 2s;
        }
    </style>
</head>

<body>
    <nav role="navigation" class="nav">
        <div id="menuToggle">
            <input type="checkbox" />
            <span></span>
            <span></span>
            <span></span>
            <ul id="menu">
                <a href="./第一页.html">
                    <li>主页</li>
                </a>
                <a href="./第二页.html">
                    <li>发现</li>
                </a>
                <a href="./第三页.html">
                    <li>简介</li>
                </a>
                <a href="./第四页.html">
                    <li>壁画</li>
                </a>
                <a href="./第六页.html">
                    <li>经书</li>
                </a>
            </ul>
        </div>
    </nav>
    <!-- 写页面 images放图片 -->
    <div class="bg" id="bj">
        <div class="clouda"></div>
        <div class="cloudb"></div>
        <div class="cloudc"></div>
        <div class="cloudd"></div>
        <div class="cloude"></div>
        <div class="peolpe"></div>
        <div class="title"></div>
    </div>

</body>
<script src="./one/index.js"></script>
<script>
    const data = new Stefocuse('.bg', '首页');
    const $title = $('.title');
    const $cloudd = $('.cloudd');
    const $cloude = $('.cloude');
    const $cloudb = $('.cloudb');
    const $clouda = $('.clouda');
    const $cloudc = $('.cloudc');
    window.onload = function () {
        /* 飞行 */
        $title.style.top = '0px';
        $cloudd.style.left = '120px';
        $cloude.style.left = '516px';
        $cloudb.style.bottom = '533px';
        $clouda.style.bottom = '751px';
        $cloudc.style.bottom = '582px';

    }
</script>

</html>